<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">



    <div style="background: red;height: 250px;">
      <!-- 路由匹配到的组件将渲染在这里 -->
      <router-view></router-view>
    </div>


    <p>
      <!--使用 router-link 组件进行导航 -->
      <!--通过传递 `to` 来指定链接 -->
      <!--`<router-link>` 将呈现一个带有正确 `href` 属性的 `<a>` 标签-->
      <router-link to="/test">Go to Test</router-link>
      <br/>
      <router-link to="/test/test_c">Go to test/test_c</router-link>
      <br/>
      <router-link to="/about">Go to About</router-link>
      <br/>
      <router-link to="/demo">Go to Demo</router-link>
    </p>
    <!-- 路由出口 -->






<!--    <HelloWorld msg="Welcome to Your Vue.js App"/>-->






  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'



export default {
  name: 'App',
  // components: {
  //   HelloWorld
  // }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
